import java.io.*;
import java.util.ArrayList;
public class FileImport {
	public static void main(String[] args){
		try{
			//File file = new File();
			ArrayList wordList = new ArrayList();
			FileInputStream fileStream = new FileInputStream("C:/Users/Santoshkumar/workspace/santosh-jce/src/Input.txt");
			DataInputStream ip = new DataInputStream(fileStream);
			BufferedReader reader = new BufferedReader(new InputStreamReader(ip));
			String stringLine = null;
			//System.out.println("Current Directory: " + file.getCanonicalPath());
			while((stringLine = reader.readLine())!= null){
				wordList.add(stringLine);
				System.out.println("WordList: " + wordList);
				String[] m = stringLine.split("");
				System.out.println("m: " + m);	
				
			}
		}
		catch ( Exception e){
			e.printStackTrace();
		}
	}

}
